var $ = function(id) {
	return document.getElementById(id);
};

function show_menu(num) {
	for ( var i = 0; i < 100; i++) {
		if ($('f0' + i)) {
			$('f0' + i).className = '';
		}
	}

	// $('f0'+num).className='left02down01_xia_li';//触发以后TAG样式
	if ($('f0' + num)) {
		$('f0' + num).className = 'left02down01_xia_li';
	}
}

function show_menuB(numB) {
	for ( var j = 0; j < 100; j++) {
		if (j != numB) {
			if ($('Bli0' + j)) {
				$('Bli0' + j).style.display = 'none';
				$('Bf0' + j).style.background = 'url(${pageContext.request.contextPath }/admin/login/images/main/01.gif)';
			}

			if ($('fontcolor0' + j)) {
				$('fontcolor0' + j).color = "";
			}
		} else {
			if ($('fontcolor0' + j)) {
				$('fontcolor0' + j).color = "red";
			}
		}
	}
	if ($('Bli0' + numB)) {
		if ($('Bli0' + numB).style.display == 'block') {
			$('Bli0' + numB).style.display = 'none';
			$('Bf0' + numB).style.background = 'url(${pageContext.request.contextPath }/admin/login/images/main/01.gif)';
		} else {
			$('Bli0' + numB).style.display = 'block';
			$('Bf0' + numB).style.background = 'url(${pageContext.request.contextPath }/admin/login/images/main/02.gif)';
		}
	}
}

var temp = 0;
function show_menuC() {
	if (temp == 0) {
		document.getElementById('LeftBox').style.display = 'none';
		document.getElementById('RightBox').style.marginLeft = '0';
		document.getElementById('Mobile').style.background = 'url(./images/main/center.gif)';

		temp = 1;
	} else {
		document.getElementById('RightBox').style.marginLeft = '222px';
		document.getElementById('LeftBox').style.display = 'block';
		document.getElementById('Mobile').style.background = 'url(./images/main/center0.gif)';

		temp = 0;
	}
}
